package com.ostrich.cloud.ostrichManagerWeb.client;

import com.ostrich.cloud.common.result.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "orderWebManagerClient",name="ostrichManagerWeb")
public interface OrderWebManagerClient {
//    @GetMapping("getOrderOnly")
//    @ApiOperation("查看单个店铺的订单")
//    public Result getOrderOnly(@RequestParam("current") Integer current,@RequestParam("size") Integer size,@RequestParam("businessmanId") Integer businessmanId);

    @GetMapping("getAllOrder")
    @ApiOperation("查看全部店铺订单")
    public Result getAllOrder(@RequestParam("orderNo") Long orderNo,@RequestParam("current") Integer current,@RequestParam("size") Integer size);

}
